import sequelize from 'sequelize';
import { dbInstance } from '../db/config.js';
import { attributes, options } from '../shared/sequelize.js';

const pageAttrs = Object.assign({
  projectId: {
      type: sequelize.DataTypes.TEXT,
      allowNull: false
  }
}, attributes);

export default dbInstance.define('page', pageAttrs, options);
